package com.simple.framework.core.action.executor;

import com.simple.framework.core.action.Action;
import com.simple.framework.core.entry.ActionContext;
import com.simple.framework.core.entry.ActionResult;
import com.simple.framework.core.exception.ActionException;

public interface ActionExecutor<R extends ActionResult, C extends ActionContext> {

	R invoke(Action<R, C> action, C context) throws ActionException;
}
